export const timer = fn => {
  setTimeout(() => {
    fn()
  }, 3000)
}

export const timer1 = fn => {
  setTimeout(() => {
    fn()
    setTimeout(() => {
      fn()
    }, 3000)
  }, 3000)
}